export interface ResponseData {
  code: number
  message: string
  ok: boolean
}
export interface permission {
  id: number
  createTime: string
  updateTime: string
  pid: number
  name: string
  code: string
  toCode: null
  type: number
  status: null
  level: number
  children: permissionChildren
  select: boolean
}
export type permissionChildren = permission[]
export interface ResponsePermissionData extends ResponseData {
  data: permission[]
}
//添加修改携带的参数
export interface Menuparams {
  id?: number | string
  code: string
  level: number | string
  name: string
  pid: number | string
  children: Menuparams[]
}
